home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / chgboot.zip / SAMPLE.CFG < prev   
Text File  |  1991-09-06  |  9KB  |  273 lines

  1. #-------------------------------------------------------------------------------
  2.  
  3. # This is a sample configuration file.  It demonstrates the correct format
  4. # of the configuration file and the use of the program switches, macro
  5. # define blocks, comments, include statements, etc.  This file should not 
  6. # be used as the actual ChgBoot.Cfg file unless the system configurations are 
  7. # customized for your machine environment.  The switches, macros, and 
  8. # system blocks can be in any order, except that if the number of system
  9. # configurations exceeds the maximum of 18, any text after that will be
  10. # ignored.  This means that if there are any switches after this they will
  11. # not be read.
  12.  
  13. # This switch is optional.  If it is not included, the program will default
  14. # to [AutoBoot]=OFF.  Set program default to reboot the machine.  Allowable 
  15. # options are:
  16. #    Off
  17. #    On
  18.  
  19. [AutoBoot]=On
  20.  
  21. # This switch is optional.  If it is not included, the configuration file
  22. # cannot be edited interactively withing the ChgBoot program.
  23. # Set up a user defined editor for the configuration file
  24.  
  25. [Editor]=C:\Dos\Edit
  26.  
  27. # This switch is optional.  Any DOS commands can be specified to run prior
  28. # to rebooting the machine, as is shown in this example.
  29. # Flush Central Point Software's PC-Cache prior to rebooting machine
  30.  
  31. [RunDos]=PC-Cache /Flush /Quiet > Nul
  32.  
  33. # This switch is only necessary if you run the program from a drive other
  34. # than the boot drive.  
  35. # Label the start-up disk drive
  36.  
  37. [BootDrv]=C:
  38.  
  39. # This switch is optional.  The program defaults to [HideFiles]=OFF.
  40. # Set the hidden attribute on the Autoexec.Bat and Config.Sys system files.
  41. # Allowable options are:
  42. #    Off
  43. #    On
  44.  
  45. [HideFiles]=On
  46.  
  47. # This switch is optional.  The program defaults to [BackUp]=On.
  48. # Do not keep back-up copies of the system files
  49. # Allowable options are:
  50. #    Off
  51. #    On
  52.  
  53. [BackUp]=Off
  54.  
  55. # This switch is optional.  The program defaults to [LockFiles]=OFF.
  56. # Set the read-only attribute bit on the system files
  57. # Allowable options are:
  58. #    Off
  59. #    On
  60.  
  61. [LockFiles]=On
  62.  
  63. # This switch is optional.  The program defaults to [Config]=TextFile.
  64. # Save the machine boot up configuration in a text file
  65. # Allowable options are:
  66. #    Off
  67. #    Textfile
  68. #    Environment
  69.  
  70. [Config]=Environment
  71.  
  72. # This switch is optional.  The program defaults to [Indent]=Off.
  73. # Define the string indentation behavior
  74. # Allowable options are:
  75. #    Off
  76. #    Relative
  77. #    Absolute
  78.  
  79. [Indent]=Relative
  80.  
  81. # You should define appropriate macros for use in your system.  These are here
  82. # as examples to show how the macro is defined, and then how it is used in
  83. # the system block.
  84. # Define macros for use in the system files
  85.  
  86. [MacroStart]
  87.      PATH=Path C:\;C:\Dos;C:\Bin;C:\PCT;C:\Me;D:\;D:\Exec;D:\BC;D:\TP
  88.      QEMM=Device=C:\Dos\Qemm\Qemm386.Sys Ram X=C800-CFFF
  89.      HIMEM=C:\Dos\HiMem.Sys
  90.      EMM386=C:\Dos\Emm386.Exe Ram X=C800-CFFF NoEms
  91.      CACHE_512=C:\PCT\PC-Cache /IE /Write=On /SizExt=512K /Max=10
  92.      CACHE_1024=C:\PCT\PC-Cache /IE /Write=On /SizExt=1024K /Max=20
  93.      CACHE_2048=C:\PCT\PC-Cache /IE /Write=On /SizExt=2048K /Max=20
  94.      CACHE_4096=C:\PCT\PC-Cache /IE /Write=On /SizExt=4096K /Max=20
  95.      SMARTDRV_1024=C:\Dos\SmartDrv.Sys 1024 512
  96.      SMARTDRV_2048=C:\Dos\SmartDrv.Sys 2048 1024
  97.      LOADHI=C:\Dos\Qemm\LoadHi
  98.      MIRROR=C:\Pct\Mirror C: D:
  99.      SHELL=Shell=C:\Dos\Command.Com /P /E:2048
  100.      CHGBOOT=ChgBoot=C:\Homeboot.Cfg
  101.      MODE=Mode Con Rate=32 Delay=1
  102.      FASTOPEN=Install=C:\Dos\FastOpen.Exe C:=100 D:=100
  103.      DOSMACRO=Call C:\Bin\DosMacro
  104.      DATAMON=C:\Pct\DataMon /DataLock+ /Sentry+ /Light+ /Write-
  105.      MOUSE=C:\Dos\Mouse
  106.      DOSKEY=C:\Dos\DosKey /BufSize=1024
  107.      COMSPEC_E=Comspec=E:\Command.Com
  108.      COMSPEC_C=Comspec=C:\Dos\Command.Com
  109.      DIRCMD=DirCmd=/o:eng /a
  110.      RAMDRV_1536=C:\Dos\RamDrive.Sys 1536 512 1024
  111.      RAMDRV_4096=C:\Dos\RamDrive.Sys 4096 512 1024
  112.      ANSI=C:\Dos\Ansi.Sys
  113.      VDEFEND=C:\Pct\VDefend.Sys
  114.      MI=MI > MI.DAT
  115.      LOADHIDAT=LoadHi > LoadHi.Dat
  116.      DELBOOTMSG=If Exist C:\BootUp.Msg Erase C:\BootUp.Msg >> Nul
  117.      SWAPSH=SwapSh /N
  118.      COPYDOS_E=Copy C:\Dos\Command.Com E:\
  119.      PCTDATA=PcTools=C:\Pct\Data
  120. [MacroEnd]
  121.  
  122. #-------------------------------------------------------------------------------
  123.  
  124. # This is system configuration 'A'.  It makes extensive use of macros.
  125.  
  126. [SystemStart]
  127. [MenuTitle]=1.5M Ram Disk, 1M Cache
  128. [HelpLine]=Use this configuration for programs requiring large amounts of extended memory
  129. [AutoStart]
  130.      @Echo Off
  131.      Verify Off
  132.      $(PATH)
  133.      $(MIRROR)
  134.      $(DELBOOTMSG)
  135.      $(COPYDOS_E)
  136.      Set $(COMSPEC_E)
  137.      Set $(DIRCMD)
  138.      Set $(PCTDATA)
  139.      Set $(CHGBOOT)
  140.      $(LOADHI) /R:2 $(DATAMON)
  141.      $(LOADHI) /R:2 $(CACHE_512)
  142.      $(LOADHI) $(MOUSE)
  143.      $(LOADHI) /R:3 $(DOSKEY)
  144.      $(LOADHI) /R:2 $(SWAPSH)
  145.      $(MODE)
  146.      $(DOSMACRO)
  147.      $(MI)
  148.      $(LOADHIDAT)
  149.      Prompt $P$G
  150.      CLS
  151.      Echo Configuration:  1.5M RamDrive, 512K Cache
  152. [AutoEnd]
  153.  
  154. [ConfigStart]
  155.      Break=On
  156.      Buffers=20 /X
  157.      Files=30
  158.      $(SHELL)
  159.      $(QEMM)
  160.      Device=$(LOADHI).Sys /R:1 $(RAMDRV_1536) /E
  161.      Device=$(LOADHI).Sys /R:3 $(ANSI)
  162.      Device=$(LOADHI).Sys /R:2 $(VDEFEND)
  163.      Dos=High
  164.      $(FASTOPEN) /X
  165. [ConfigEnd]
  166. [SystemEnd]
  167.  
  168. #-------------------------------------------------------------------------------
  169.  
  170. # This is system configuration 'B'.  This configuration shows the use of the
  171. # [Include] directive.  If there were a text file called "set.txt" located 
  172. # in the root directory, that contained all the environment set commands, 
  173. # (i.e., Set Comspec=C:\Dos, etc.) they could be included in the 
  174. # "Autoexec.Bat" file as shown below.  Alternatively, if there were a number
  175. # of different "Autoexec.bat" and "Config.Sys" files under different names 
  176. # (Autoexec.1, Autoexec.2, Config.1, Config.2, etc.), these could be
  177. # included instead of rewriting them here.  This would be done as:
  178. #
  179. # [AutoStart]
  180. #    [Include]=C:\Autoexec.1
  181. # [AutoEnd]
  182. #
  183. # [ConfigStart]
  184. #    [Include]=C:\Config.1
  185. # [ConfigEnd]
  186.  
  187. [SystemStart]
  188. [MenuTitle]=4M Ram Disk, 1M Cache
  189. [HelpLine]=This is your standard configuration with large ram disk
  190. [AutoStart]
  191.      @Echo Off
  192.      Verify Off
  193.      $(PATH)
  194.      $(MIRROR)
  195.      $(DELBOOTMSG)
  196.      $(COPYDOS_E)
  197.      [Include]=C:\Set.Txt
  198.      $(LOADHI) /R:2 $(CACHE_1024)
  199.      $(LOADHI) /R:2 $(DATAMON)
  200.      $(LOADHI) $(MOUSE)
  201.      $(LOADHI) /R:3 $(DOSKEY)
  202.      $(LOADHI) /R:2 $(SWAPSH)
  203.      $(MODE)
  204.      $(DOSMACRO)
  205.      $(MI)
  206.      $(LOADHIDAT)
  207.      Prompt $P$G
  208.      CLS
  209.      Echo Configuration:  4M RamDrive, 1M Cache
  210. [AutoEnd]
  211.  
  212. [ConfigStart]
  213.      Break=On
  214.      Buffers=20 /X
  215.      Files=30
  216.      $(SHELL)
  217.      $(QEMM)
  218.      Device=$(LOADHI).Sys /R:1 $(RAMDRV_4096) /A
  219.      Device=$(LOADHI).Sys /R:3 $(ANSI)
  220.      Device=$(LOADHI).Sys /R:2 $(VDEFEND)
  221.      Dos=High
  222.      $(FASTOPEN) /X
  223. [ConfigEnd]
  224. [SystemEnd]
  225.  
  226. #-------------------------------------------------------------------------------
  227.  
  228. # This is system configuration 'C'
  229. # This example uses no macros
  230.  
  231. [SystemStart]
  232. [MenuTitle]=1.5M Ram Disk, 2M Cache, Windows
  233. [HelpLine]=Uses QEMM instead of HiMem.Sys, Uses SmartDrv instead of PC-Cache
  234. [AutoStart]
  235.      Rem This is the Windows configuration
  236.      @Echo Off
  237.      Verify Off
  238.      Path C:\;C:\Dos;C:\Bin;C:\PCT;C:\Me;C:\Win;D:\;D:\Exec;D:\BC;D:\ZC;D:\TP
  239.      C:\Dos\Mirror C: D: /TC /TD
  240.      If Exist C:\BootUp.Msg Erase C:\BootUp.Msg >> Nul
  241.      Set Comspec=C:\Dos\Command.Com
  242.      Set DirCmd=/o:eng /a
  243.      Set ChgBoot=C:\HomeBoot.Cfg
  244.      Set TLibCfg=!D:\TLib\TLib.Cfg
  245.      Set Include=D:\ZC\INC;D:\SRC
  246.      Set Lib=D:\ZC\LIB;D:\SRC
  247.      Set Temp=C:\Temp
  248.      C:\Dos\Qemm\LoadHi C:\Dos\Mouse
  249.      C:\Dos\Qemm\LoadHi /R:1 CmdEdit /r /g /d4096 /m4096 /fc:\cmdedit.scr
  250.      Prompt $P$G
  251.      Mode Con Rate=32 Delay=1
  252.      Mi > Mi.Dat
  253.      LoadHi > LoadHi.Dat
  254.      Win :
  255. [AutoEnd]
  256.  
  257. [ConfigStart]
  258.      Break=On
  259.      Buffers=20
  260.      Files=30
  261.      Shell=C:\Dos\Command.Com /P /E:2048
  262.      Device=C:\Dos\Qemm\Qemm386.Sys Ram X=C800-CFFF
  263.      Dos=High
  264.      Device=C:\Dos\Qemm\LoadHi.Sys /R:1 C:\Dos\RamDrive.Sys 1536 512 1024 /E
  265.      Device=C:\Dos\Qemm\LoadHi.Sys /R:3 C:\Dos\Ansi.Sys
  266.      Device=C:\Dos\Qemm\LoadHi.Sys /R:2 C:\Dos\SmartDrv.Sys 2048 1024
  267. [ConfigEnd]
  268. [SystemEnd]
  269.  
  270. # End of ChgBoot.Cfg file example
  271.  
  272. #-------------------------------------------------------------------------------
  273.